package org.example.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysRegion {

    private String id;

    private String code;

    private String name;

    private String parentId;

    private Short level;

    private String geo_code;

    private BigDecimal center_longitude;

    private BigDecimal center_latitude;

    private BigDecimal runoff_coefficient;

    public SysRegion(String id, String code, String name, String parentId, Short level) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.parentId = parentId;
        this.level = level;
    }
}